package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 产品账单信息
 * </p>
 *
 * @author 
 * @since 2023-02-20
 */
@Getter
@Setter
@TableName("ml_account_item_product_bill_info")
public class AccountItemProductBillInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账户ID
     */
    private String accountId;

    /**
     * 账户名称
     */
    private String accountName;

    /**
     * 账单日期
     */
    private String dateInfo;

    /**
     * 产品ID
     */
    private String productId;

    /**
     * 产品名称
     */
    private String productName;

    private String productDesc;

    /**
     * 系统消耗量
     */
    private Integer uvNumberSys;

    /**
     * 系统消耗金额
     */
    private BigDecimal uvCostSys;

    /**
     * uv 单价
     */
    private BigDecimal uvPrice;

    /**
     * uv  折扣
     */
    private BigDecimal uvDiscount;

    /**
     * 实际消耗量
     */
    private Integer uvNumberReal;

    /**
     * 实际消耗金额
     */
    private BigDecimal uvCostReal;

    /**
     * 预付金额
     */
    private BigDecimal payAmount;

    /**
     * 现余额
     */
    private BigDecimal balanceAmount;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
